<?php
global $config;
$config['record_acc_log'] = true;

$config['service_socket'] = 'JsonNL://0.0.0.0:2015';
$config['process_count'] = 1;
$config['service_name'] = 'zgt_erp';
$config['log_path'] = __DIR__ . '/workerman.log';
$config['service_namespace'] = "JsonRpc\\Services\\";

$config['db'] = [
    'driver' => 'mysql',
    'host' => '192.168.40.14',
    //'host' => '192.168.60.165',
    //'host' => '192.168.10.100',
    'database' => 'zgt_erp',
    'username' => 'root',
    'password' => 'welcome',
    //'password' => 'root',
    'charset' => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix' => '',
];

$config['statistic_address'] = 'udp://127.0.0.1:55656';
